package com.wanmait.translate.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;
@JsonIgnoreProperties(value = {  "handler"})
public class SystemMenu implements Serializable {
    private Integer id;

    /**
	* 菜单名称
	*/
    private String name;

    /**
	* 父菜单ID
	*/
    private Integer parentId;
    //用于封装
    private SystemMenu parent;

    /**
	* 显示顺序
	*/
    private String type;

    /**
	* 菜单类型（M目录 L链接 B按钮）
	*/
    private Integer sort;

    /**
	* 打开方式的id（
	*/
    private Integer target;
    //打开方式的值_blank新窗口_self自己_top iframe）frameSet
    private String targetValue;

    /**
	* 图标
	*/
    private String imageUrl;

    private String key;

    /**
	* 请求地址
	*/
    private String requestUrl;

    /**
	* 权限标识
	*/
    private String perms;

    /**
	* 是否显示（0显示 1隐藏）,
	*/
    private Integer visible;

    /**
	* 是否停用（0显示 1停用）
	*/
    private Integer enable;


    private static final long serialVersionUID = 1L;

    public SystemMenu getParent() {
        return parent;
    }

    public void setParent(SystemMenu parent) {
        this.parent = parent;
    }

    public String getTargetValue() {
        return targetValue;
    }

    public void setTargetValue(String targetValue) {
        this.targetValue = targetValue;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getTarget() {
        return target;
    }

    public void setTarget(Integer target) {
        this.target = target;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "SystemMenu{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", type='" + type + '\'' +
                ", sort=" + sort +
                ", target=" + target +
                ", targetValue='" + targetValue + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                ", key='" + key + '\'' +
                ", requestUrl='" + requestUrl + '\'' +
                ", perms='" + perms + '\'' +
                ", visible=" + visible +
                ", enable=" + enable +
                '}';
    }
}